
import { createSSRApp } from 'vue'
import App from './App.vue'
import "./utils/requesthttp.js"
import store from "@/store/store.js"

//封装弹框的方法
uni.$showMsg = function(title="未找到数据！",duration=1500){
	uni.showToast({
		title,
		duration,
		icon:"none",
		mask:true,
	})
}
export function createApp() {
  const app = createSSRApp(App)
  app.use(store)
  return {
    app,
  }
}
